package com.pudu.mydemo.entity;

/**
 * Created by guiliu on 2016/8/31.
 */
public class Contant {
    public static final String SOMETHING_WRONG = "something_wrong";
    public static final String STATUS = "status";
    public static final String ACTION_SMART_MOVE = "ACTION_SMART_MOVE"; //智能循航  { "action": "ACTION_SMART_MOVE", "data":"地图" }
    public static final String ACTION_THROUGH_MOVE = "ACTION_THROUGH_MOVE";//直达模式  { "action": "ACTION_THROUGH_MOVE", "data":"桌号" }
    public static final String ACTION_GOBACK_MOVE = "ACTION_GOBACK_MOVE";//往返模式  { "action": "ACTION_GOBACK_MOVE", "data":"移动距离" }
    public static final String ANIMATION_FIRST_TIME_COMPLETE = "ANIMATION_FIRST_TIME_COMPLETE"; //动画完成一次Json: { "action": "ANIMATION_FIRST_TIME_COMPLETE", "data":"-1" }
    public static final String ACTION_GO = "ACTION_GO";//开始运动   { "action": "ACTION_SMART_MOVE", "data":"-1" }
    public static final String ACTION_PAUSE = "ACTION_PAUSE"; //暂停运动  { "action": "ACTION_SMART_MOVE", "data":"-1" }
    public static final String ACTION_HOME = "ACTION_HOME" ;//回到主页{ "action": "ACTION_HOME", "data":"-1" }
    public static final int GET_FOOD = 0; //拿食物
    public static final int  LEFT_REVOLVER_BLOCK_ERROR = 1;//左轮被挡住
    public static final int  RIGHT_REVOLVER_BLOCK_ERROR = 2;//右轮被挡住
    public static final int LEFT_RIGHT_REVOLVER_BLOCK_ERROR = 3;//左右轮被挡住
    public static final int NO_ELECTRICITY_ERROR = 4; //电量低
    public static final int RUN__NOTKNOW_ERROR = 5;//运动未知错误
    public static final int HIT_CRY_ERROR = 7;//碰撞,被挡住
    public static final int TO_HEAVY_ERROR = 8;//太重
    public static final int SINGAL_LOSE_ERROR = 9;//信号丢失
    public static final int SMAIL_NORMAL = 10;//正常状态
    public static final int PAUSE = -1;  //暂停


    //add by fanyiping
    public static final int CUSTOM_INFORMATION_ID = 100; //自定义消息ID
    public static final String CUSTOM_INFORMATION_STRING = "CUSTOM_INFORMATION_STRING"; //自定义消息内容key

}
